package com.xujie.property_warranty_system.dto;

import lombok.Data;

/**
 * 用户统计DTO
 */
@Data
public class UserStatsDTO {
    
    /**
     * 总用户数
     */
    private Long total;
    
    /**
     * 待审核用户数
     */
    private Long pending;
    
    /**
     * 已通过用户数
     */
    private Long approved;
    
    /**
     * 已拒绝用户数
     */
    private Long rejected;
    
    public UserStatsDTO() {
        this.total = 0L;
        this.pending = 0L;
        this.approved = 0L;
        this.rejected = 0L;
    }
    
    public UserStatsDTO(Long total, Long pending, Long approved, Long rejected) {
        this.total = total;
        this.pending = pending;
        this.approved = approved;
        this.rejected = rejected;
    }
}
